home *** CD-ROM | disk | FTP | other *** search
/ Grand Slam 3 / Grand Slam 3.iso / 008 / deutex33.arj / TRINITY.CMD < prev   
OS/2 REXX Batch file  |  1994-11-14  |  2KB  |  95 lines

  1. /**/
  2.  
  3. "echo off"
  4. "echo.     ------------------------------------"
  5. "echo.     DeuTex Functionalities demonstration"
  6. "echo.     ------------------------------------"
  7. "echo."
  8. "echo.  you must put trinity.wad in this directory"
  9. "echo.  doom.wad should be in the \doom directory"
  10. "echo."
  11. "pause"
  12. "echo. Checking existence of trinity.wad"
  13. "if  exist trinity.wad  goto chk1"
  14. "echo Error!   trinity.wad is not in this directory."
  15. "goto end"
  16. ":chk1"
  17. "echo. Checking existence of DOOM.WAD"
  18. "if  exist \doom\doom.wad goto chk2"
  19. "if  exist \doom2\doom2.wad goto chk2"
  20. "echo Error! \doom\doom.wad does not exist" 
  21. "goto end"
  22. ":chk2"
  23. "echo. All is OK!"
  24. "echo."
  25. "echo. ----------------------------------------"
  26. "echo. Now listing the directory of trinity.wad"
  27. "echo. ----------------------------------------"
  28. "echo."
  29. "pause"
  30.  
  31. "rem ***DeuTex***"
  32. "deutex  -wadir trinity.wad   > dir666.txt"
  33. "type dir666.txt | more"
  34. "del dir666.txt"
  35.  
  36. "echo.
  37. "echo. Now trying to extract entries of trinity.wad"
  38. "echo. in the current directory"
  39. "echo."
  40. "pause"
  41.  
  42. "rem ***DeuTex***"
  43. "deutex -dir . -extract trinity.wad"
  44.  
  45. "echo."
  46. "echo. -----------------"
  47. "echo. Look at the mess!"
  48. "echo. -----------------"
  49. "echo."
  50. "pause"
  51. "dir /s | more"
  52. "echo."
  53. "echo. ----------------------------------"
  54. "echo. The file WADINFO.TXT describes the "
  55. "echo.  contents of the PWAD trinity.wad"
  56. "echo. ----------------------------------"
  57. "echo."
  58. "pause"
  59. "type wadinfo.txt | more"
  60. "echo."
  61. "echo. ------------------------------------------"
  62. "echo. Now rebuilding trinity.wad as trinidad.wad"
  63. "echo. ------------------------------------------"
  64. "echo."
  65. "pause"
  66.  
  67. "rem ***DeuTex*** "
  68. "deutex -dir . -make wadinfo.txt trinidad.wad"
  69. "echo."
  70. "echo. -----------------------------------------------"
  71. "echo. trinidad.wad was built. successfuly? let's check!"
  72. "echo. -----------------------------------------------"
  73. "echo."
  74. "dir"
  75. "echo."
  76. "echo. ----------------------------------"
  77. "echo. now calling DOOM with trinidad.wad"
  78. "echo. ----------------------------------"
  79. "echo."
  80. "pause"
  81. "echo copying trinidad.wad into \DOOM directory "
  82. "copy trinidad.wad \doom\trinidad.wad"
  83. "cd \doom"
  84. "doom -file trinidad.wad"
  85. "echo."
  86. "echo. Are you satisfied?"
  87. "echo. If yes, tell me: mail montanuy@dmi.ens.fr"
  88. "echo. If no, tell me also!"
  89. "echo. And if there was a bug, sorry!"
  90. "echo."
  91.  
  92. ":end"
  93. "echo the end"
  94.  
  95.